package com.smscenter.server.core.ems;

/**
 * Created by ShanFei on 2016-06-02.
 */
public class EmsError {
    public static String getErrorMess(int errorCode){
        switch (errorCode){
            case 1:
                return "登录密码错误";
            case 2:
                return "企业ID或登录名错误";
            case 3:
                return "余额不足";
            case 4:
                return "用户归属服务器错误";
            case 5:
                return "帐户停用或不存在";
            case 6:
                return "内容为空";
            case 7:
                return "号码为空";
            case 8:
                return "号码超过最大限制数";
            case 9:
                return "内容包含关键字";
            case 10:
                return "时间格式错误";
            case 11:
                return "非法操作导致ip被锁";
            case 12:
                return "访问过快";
            case 13:
                return "批量一对一参数格式错误";
            case 14:
                return "批量一对一出现重复信息(号码，内容同时重复)";
            case 15:
                return "签名未报备";
            case 16:
                return "单位时间内该号码超过最大发送限制";
            case 17:
                return "签名必须在【4，10】字符间";
            case 18:
                return "内容涉嫌营销内容";
            case 99:
                return "系统内部错误";
            default:
                return "";
        }


    }
}
